package com.example.javaee.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("user_course")
public class UserCourse
{
    @TableField("userId")
    Long userId;

    // 选课id，并非课程号
    @TableField("courseId")
    Long courseId;

    public UserCourse()
    {

    }
    public UserCourse(Long userId, Long courseId)
    {
        this.userId = userId;
        this.courseId = courseId;
    }

}
